<?php
class Macys_Api_V2_Shoppingbag {


	private $params = array();



	public function addItem() {
		$a = new Macys_Api_V2_Shoppingbag_AddItem();
		$a->processInputParams($this->params);
		$a->run();
		return $a->getRawData();
	}

	public function updateItem() {
		$u = new Macys_Api_V2_Shoppingbag_UpdateItem();
		$u->processInputParams($this->params);
		$u->run();
		return $u->getRawData();
	}

	public function deleteItem() {

		$u = new Macys_Api_V2_Shoppingbag_DeleteItem();
		$u->processInputParams($this->params);
		$u->run();
		return $u->getRawData();
	}

	public function mergeBag() {

	}

	public function deleteItemByUserId() {

	}

	public function retriveByBagId() {
		$b = new Macys_Api_V2_Shoppingbag_Retrive();
		$b->retriveByBagId();
		$b->processInputParams($this->params);
		$b->run();
		return $b->getRawData();
	}

	public function retriveBag() {
		$b = new Macys_Api_V2_Shoppingbag_Retrive();
		$b->run();
		return $b->getRawData();
	}

	public function processInputParams($params) {
		$this->params = $params;
	}


}